package api

import (
	"1-13zy/api/handlers"
	"github.com/gin-gonic/gin"
)

func LoadRouter(r *gin.Engine) {
	r.POST("/api/c/addArticle", handlers.AddArticle)
	r.POST("/api/c/addArticleGood", handlers.AddArticleGood)
	r.POST("/api/c/addArticleReview", handlers.AddArticleReview)
	r.POST("/api/c/resAddArticleReview", handlers.ResAddArticleReview)
	r.POST("/api/c/reviewGood", handlers.ReviewGood)
	r.POST("/api/c/reviewDel", handlers.ReviewDel)
	r.POST("/api/c/reviewGoodDel", handlers.ReviewGoodDel)
}
